import {Message} from 'element-ui'

class MessageUtils {

  constructor() {
  }

  static showMsg(msg, type) {
    Message({
      message: msg,
      type: type,
      duration: 1000
    })
  }
}

export default MessageUtils;